package us.wili.dev.dao.mapper.base;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import us.wili.dev.model.entity.Hot;
import us.wili.dev.model.example.HotExample;

public interface BaseHotMapper {
    int insert(Hot record);

    int batchInsert(List<Hot> records);

    int insertSelective(Hot record);

    int deleteByExample(HotExample example);

    int deleteByPrimaryKey(Long id);

    long countByExample(HotExample example);

    int updateByExampleSelective(@Param("record") Hot record, @Param("example") HotExample example);

    int updateByPrimaryKey(Hot record);

    int updateByPrimaryKeySelective(Hot record);

    Hot selectByPrimaryKey(@Param("id") Long id, @Param("columns") String... columns);

    Hot selectByPrimaryKeyForUpdate(@Param("id") Long id, @Param("columns") String... columns);

    Hot selectByPrimaryKeyInShareMode(@Param("id") Long id, @Param("columns") String... columns);

    List<Hot> selectByExample(HotExample example);

    Hot selectOneByExample(HotExample example);
}